[all]
copyright=(C) 2005, cFos Software GmbH
designer=Ingo Guenther
version=cFosSkin V1.0
name=Liquid Crystal
type=net,comport
background=back.png
; background=matrix.png
background2=glass.png
background_mask=backmask.png
blend_time=300
blend_out_time=500
transparentcolor=255,0,0

; font definition
[num_chars]
fontbitmap=num_chars.png
framewidth=13
frameheight=13
fontbitmapchars=0 123456789KMGT.
default_char_width=8
char_width=2:7 3:7 5:7 7:7 M:10 G:9 .:6

; shaping animation
[disp1]
value=tx_shape_fast
method=delta
start=0
disp=shape_disp
updatetime=1440

[shape_disp]
method=motion
rect=0,0,84,61
bitmap=ripple.png
min=1
idleframe=1
updatetime=40

; data count
[disp2]
value=rx_data_cnt
method=animation
rect=4,22,15,40
bitmap=rx_bullet.png
mod=14
frames=14
min=0
max=13

[disp3]
value=tx_data_cnt
method=animation
rect=4,41,15,59
bitmap=tx_bullet.png
mod=14
frames=14
min=0
max=13

;graphical cps meters (total)
[disp4]
products=cfosspeed
value=total_rx_speed
method=history
updatetime=240
historysize=1
hdisp1=rx_speed_disp_t

[rx_speed_disp_t]
method=animation
rect=15,22,69,40
bitmap=rx_bar.png
min=0
max=100
frames=1
break1=1
frames2=25
alpha_val=80

[disp5]
products=cfosspeed
value=total_tx_speed
method=history
updatetime=240
historysize=1
hdisp1=tx_speed_disp_t

[tx_speed_disp_t]
method=animation
rect=15,41,69,59
bitmap=tx_bar.png
min=0
max=100
frames=1
break1=1
frames2=25
alpha_val=80

;graphical cps meters (local)
[disp6]
value=rx_speed
method=history
updatetime=240
historysize=1
hdisp1=rx_speed_disp

[rx_speed_disp]
method=animation
rect=15,22,69,40
bitmap=rx_bar.png
min=0
max=100
frames=1
break1=1
frames2=25

[disp7]
value=tx_speed
method=history
updatetime=240
historysize=1
hdisp1=tx_speed_disp

[tx_speed_disp]
method=animation
rect=15,41,69,59
bitmap=tx_bar.png
min=0
max=100
frames=1
break1=1
frames2=25

;numerical cps meters
[disp8]
value=rx_cps
method=text
rect=47,25,112,38
font=num_chars
digits=5
style=d
decimals=1
flags=b
format=r

[disp9]
value=tx_cps
method=text
rect=47,44,112,57
font=num_chars
digits=5
style=d
decimals=1
flags=b
format=r

;graphical ping time
[disp10]
value=ping_val
method=animation
rect=4,5,19,21
bitmap=ping.png
min=0
max=1
frames=2

;low latency display
[disp11]
value=latency
method=motion
bitmap=low_lat.png
rect=18,8,30,19
min=1
max=1
idleframe=1
enabled=0

;low latency locked
[disp12]
value=latency
method=motion
bitmap=lat_lock.png
rect=18,8,30,19
min=1
max=1
updatetime=100
idleframe=1
enabled=0
pause=1000

;switch on low latency lock
[disp13]
method=activearea
bitmap=switch.png
rect=18,8,28,17
action=spdcmd
target=gset latency 1 -save
blend_time=250
enabled=0

;switch off low latency lock
[disp14]
method=activearea
bitmap=switch.png
rect=18,8,28,17
action=spdcmd
target=gset latency 2 -save
blend_time=250
enabled=0

;activate low latency display / lock on switch
[disp15]
method=activate
value=latency_mode
min=2
max=2
target=disp11,disp13

;activate low latency locked / lock off switch
[disp16]
method=activate
value=latency_mode
min=1
max=1
target=disp12,disp14

;numerical ping time
[disp17]
value=ping_time
method=text
rect=17,7,56,20
font=num_chars
digits=3
style=e
flags=b
format=r
style=e

; text "ms" for numerical ping time
[disp18]
value=ping_time
method=animation
rect=53,9,73,20
bitmap=ms.png
min=0
max=1
frames=2

;rx/tx shape level
[disp19]
value=tx_shape_level
method=history
updatetime=240
historysize=1
hdisp1=tx_shape_disp

[tx_shape_disp]
method=animation
rect=5,6,10,18
bitmap=tx_shape_level.png
min=0
max=100
frames=13

[disp20]
value=rx_shape_level
method=history
updatetime=240
historysize=1
hdisp1=rx_shape_disp

[rx_shape_disp]
method=animation
rect=11,6,16,18
bitmap=rx_shape_level.png
min=0
max=100
frames=13

;graphical tcp/udp counts
[disp21]
value=tcp_udp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp0.png
min=0
max=0
idleframe=1
updatetime=80

[disp22]
value=tcp_udp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp1.png
min=1
max=5
idleframe=1
updatetime=80

[disp23]
value=tcp_udp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp2.png
min=6
max=50
idleframe=1
updatetime=80

[disp24]
value=tcp_udp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp3.png
min=51
idleframe=1
updatetime=80

[disp25]
value=tcp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp0.png
min=0
max=0
idleframe=1
updatetime=80
enabled=0

[disp26]
value=tcp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp1.png
min=1
max=5
idleframe=1
updatetime=80
enabled=0

[disp27]
value=tcp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp2.png
min=6
max=50
idleframe=1
updatetime=80
enabled=0

[disp28]
value=tcp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp3.png
min=51
idleframe=1
updatetime=80
enabled=0

[disp29]
value=udp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp0.png
min=0
max=0
idleframe=1
updatetime=80
enabled=0

[disp30]
value=udp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp1.png
min=1
max=5
idleframe=1
updatetime=80
enabled=0

[disp31]
value=udp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp2.png
min=6
max=50
idleframe=1
updatetime=80
enabled=0

[disp32]
value=udp_cnt
method=motion
rect=73,4,89,21
bitmap=tcp3.png
min=51
idleframe=1
updatetime=80
enabled=0

;open connection console
[disp33]
method=activearea
bitmap=switch2.png
rect=73,4,86,19
action=exec
target=mshta.exe
parameters="~p\pub\console.htm"
blend_time=250

;numerical tcp/udp counts
[disp34]
value=tcp_udp_cnt
method=text
rect=73,7,112,20
font=num_chars
digits=3
style=e
flags=b
format=r

[disp35]
value=tcp_cnt
method=text
rect=73,7,112,20
font=num_chars
digits=3
style=e
flags=b
format=r
transform1=0,0,0,255,255,255,215,220,0,215,255,255
enabled=0

[disp36]
value=udp_cnt
method=text
rect=73,7,112,20
font=num_chars
digits=3
style=e
flags=b
format=r
transform1=0,0,0,255,255,255,298,220,0,298,255,255
enabled=0

; tcp_udp/tcp/udp switches
[disp37]
method=activearea
rect=95,7,108,18
bitmap=tcp_udp.png
action=toggle
regions=0
target=disp21,disp22,disp23,disp24,disp25,disp26,disp27,disp28,disp34,disp35,disp37,disp38
blend_in=128
blend_time=200

[disp38]
method=activearea
rect=95,7,108,18
bitmap=tcp.png
action=toggle
regions=0
target=disp25,disp26,disp27,disp28,disp29,disp30,disp31,disp32,disp35,disp36,disp38,disp39
blend_in=128
blend_time=200
enabled=0

[disp39]
method=activearea
rect=95,7,108,18
bitmap=udp.png
action=toggle
regions=0
target=disp21,disp22,disp23,disp24,disp29,disp30,disp31,disp32,disp34,disp36,disp37,disp39
blend_in=128
blend_time=200
enabled=0

;budget
[disp40]
value=budget_level
method=animation
rect=111,2,116,60
bitmap=budget.png
min=0
max=100
frames=55
updatetime=80

;open animation
[disp41]
value=open
method=fader
target=disp2,disp3,disp33,disp40
blend_time=500
min=0
max=1
alpha_min=0
alpha_max=255

[disp42]
value=expired
method=animation
bitmap=expired.png
rect=33,5,87,59
min=0
max=1
frames=2

[disp43]
method=activearea
value=open
rect=2,37,114,59
bitmap=help.png
action=exec
target=http://www.cfos.de/$l/cfosspeed/documentation/status.htm
regions=0
blend_in=128
blend_time=200

; activate message button
[disp50]
products=cfosspeed
method=activate
value=msg_avail
min=1
max=1
target=disp51

[disp51]
products=cfosspeed
method=activearea
bitmap=message.png
rect=12,2,106,61
action=show_message
print_allowed=0
regions=0
blend_in=128
blend_time=200

;assert
[disp52]
value=assert_count
method=animation
bitmap=assert.png
rect=17,5,71,59
min=0
max=1
frames=2
